/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-03-06
 * Time: 22:27
 */

public class Test {
    private String first_name;
    private String lasst_name;

    public Test() {
    }

    public Test(String first_name, String lasst_name, int age, char sex) {
        this.first_name = first_name;
        this.lasst_name = lasst_name;
        this.age = age;
        this.sex = sex;
    }

    public String getFirst_name() {
        return first_name;
    }

    public void setFirst_name(String first_name) {
        this.first_name = first_name;
    }

    public String getLasst_name() {
        return lasst_name;
    }

    public void setLasst_name(String lasst_name) {
        this.lasst_name = lasst_name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Test{" +
                "first_name='" + first_name + '\'' +
                ", lasst_name='" + lasst_name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                '}';
    }

    private int age;
    private char sex;

}